<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich" xml:lang="en">
<head>
<title>登陆</title>
<meta http-equiv="keywords" content="enter,your,keywords,here" />
<meta http-equiv="description"
	content="A short description of this page." />
<link href="css/login.css" rel="stylesheet" type="text/css"
	media="screen" />

<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
</head>
<body style="background-color: #ffffff">
<h:form>
	<table height="100%" cellSpacing="0" cellPadding="0" width="100%"  id="loginbg" >
		<tr>
	    	<td align="left" valign="top">
	        	<div id="logintop">
	            	<div id="loginlogo"></div>
	            </div>
	            <div id="loginbottom">
	           		<div id="msgid" class="error pt10p bcf c0 tal" style="display:">
						<a4j:outputPanel  id="msgPanel">
							<center>
								<h:outputText styleClass="cff" value="#{LoginBB.msg}" />
							</center>
						</a4j:outputPanel>
					</div>
	            	<div id="login_l">
	            		用户名
	            		<h:inputText value="#{LoginBB.username}" /> 
		           	    　	密 码
		           	    <h:inputSecret value="#{LoginBB.password}"/>
		           	    　
		           	    <h:commandButton  value="登陆" image="/images/login.jpg" 
		           	    action="#{LoginBB.loginUser}" reRender="msgPanel"/> 
	   				</div>
	            </div>       
	        </td>
  		</tr>
	</table>
</h:form>
</body>
</html>

